<SCRIPT LANGUAGE="JavaScript">
<!--
/**
*	
*/
function f_gridDblFunc(keyID) {
	var curKeyID = trselObj.f_get_select_key();
	curKeyID = curKeyID[0];
	if (curKeyID == "") return ;
	//alert("curKeyID = " + curKeyID);

	var cost_unit_id = trselObj.f_getTDValueByKeyName(curKeyID ,"in_material.cost_unit_id");
	var trObj = trselObj.f_getSelectTR();

	var where_sql = "in_material.provider_id = ? and in_material.cost_unit_id = ?";
	var where_type = "string;string";
	var where_value = curKeyID + ";" + cost_unit_id;


	var contextPath = "<%=CONTEXTPATH%>";
	var funcid = "audit_in_sp";

	var href = contextPath + g_layoutForm + funcid + "&pageType=subgrid";
	href += "&where_sql=" + where_sql;
	href += "&where_value=" + where_value;
	href += "&where_type=" + where_type;
	href += "&orgwhere_sql=" + where_sql;
	href += "&orgwhere_type=" + where_type;
	href += "&orgwhere_value=" + where_value;
	//alert("href = " + href);

	parent.frames("frmformdata").document.location = href
}
//-->
</SCRIPT>